package com.zy.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

/**
 * @Author zy
 * @Date 2024/12/06
 * @Desc
 * @Version 1.0
 */
@Data
@TableName("user")
public class User {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("name")
    private String name;

    @TableField("age")
    private Integer age;

    @TableField("email")
    private String email;

    @TableLogic
    private Integer deleted;
}